import http from '@/utils/http.js'
// 封装用户管理模块
// 用户登录
export const LoginAPI = ({ account, password }) => {
  return http({
    url: '/login',
    method: 'POST',
    data: {
      account,
      password,
    },
  })
}

// 用户喜欢列表
export const getLikeListAPI = ({ limit = 4 }) => {
  return http({
    url: '/goods/relevant',
    params: {
      limit
    }
  })
}
